import request from '@/utils/request';
const baseURL = ''
export function getSmsCode(data){
  return request({
      url: baseURL+'api/catapp/message/smscode/',
      method: 'post',
      data,
  });
}
export function getUserInfo(data){
  return request({
      url: baseURL+'api/catapp/user/userinfo/',
      method: 'POST',
      data
  });
}
export function logout(){
  return request({
    url: baseURL+'api/user/logout',
    method: 'get',
  });
}
export function login(data) {
  return request({
      url: baseURL+'api/catapp/user/login/',
      method: 'post',
      data,
  });
}
export function regist(data) {
  return request({
      url: baseURL+'api/catapp/user/regist/',
      method: 'post',
      data,
  });
}
export function reset(data) {
  return request({
      url: baseURL+'api/catapp/user/reset/',
      method: 'post',
      data,
  });
}